
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/gatling.js"></script>
<script src="js/menu.js"></script>
<script src="js/ellipsis.js"></script>
<script src="js/all_sessions.js"></script>
<script src="js/stats.js"></script>
<script src="js/highstock.js"></script>
<script src="js/highcharts-more.js"></script>
<script src="js/theme.js"></script>
<script src="js/unpack.js"></script>
<title>Gatling Stats - Global Information</title>
</head>
<body>
<div class="app-container">
<div class="frise"></div>
<div class="head">
  <div class="gatling-open-source">
    <a class="gatling-logo" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo.svg"/></a>
    <a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
  </div>
  <a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank">Try <img alt="Gatling Enterprise" src="style/logo-enterprise.svg"/></a></div>
<div class="container details">
  <div class="nav">
    <ul></ul>
  </div>
    <div class="cadre">
      <div class="content">
        <div class="content-header">
          <div class="onglet">
            RinhaBackendSimulation
          </div>
          <div class="sous-menu" id="sousMenu">
            <div class="sous-menu-spacer">
              <div class="item ouvert"><a href="index.html">Global</a></div>
                <div class="item "><a id="details_link" href="#">Details</a></div>
              </div>
            </div>
          </div>
          <div class="content-in">
            <div class="container-article">
            <div class="article">
              
              
<div class="schema-container">

            <div id="ranges" class="schema ranges">
            </div>

            <div class="schema polar">
              <div id="container_number_of_requests"></div>
            </div>
<div class="simulation-card">
  <div class="simulation-version-information">
  <span class="simulation-information-title">Gatling Version</span>
    <span class="simulation-information-item">
      <span class="simulation-information-label">Version: </span>
      <span>3.9.5</span>
    </span>
    <span class="simulation-information-item">
      <span class="simulation-information-label">Released: </span>
      <span>2023-05-10</span>
    </span>
  </div>
  <div id="simulation-information" class="simulation-version-information">
    <span class="simulation-information-title">Run Information</span>
    <div class="simulation-information-container">
      <span class="simulation-information-item">
        <span class="simulation-information-label">Date: </span>
        <span>2023-08-23 19:29:31 GMT</span>
      </span>
      <span class="simulation-information-item">
        <span class="simulation-information-label">Duration: </span>
        <span>3m 25s </span>
      </span>
      <span class="simulation-tooltip simulation-information-item description" title="Description" data-content="rwillians">
        <span class="simulation-information-label">Description: </span>
        <span>rwillians</span>
      </span>

    </div>
  </div>
</div>
</div>

                      <div id="statistics_table_container">
                        <div id="stats" class="statistics extensible-geant collapsed">
                            <div class="title">
                              <div id="statistics_title" class="title_base"><span class="title_base_stats">Stats</span><span class="expand-table">Fixed height</span><span id="toggle-stats" class="toggle-table"></span><span class="collapse-table">Full size</span></div>
                              <div class="right">
                                  <button id="statistics_full_screen" class="statistics-button" onclick="openStatisticsTableModal()">Full Screen</button>
                                  <button class="statistics-button expand-all-button">Expand all groups</button>
                                  <button class="statistics-button collapse-all-button">Collapse all groups</button>
                              </div>
                            </div>
                            <div class="scrollable">
                              <table id="container_statistics_head" class="statistics-in extensible-geant">
                                  <thead>
                                      <tr>
                                          <th rowspan="2" id="col-1" class="header sortable sorted-up"><span>Requests</span></th>
                                          <th colspan="5" class="header"><span class="executions">Executions</span></th>
                                          <th colspan="8" class="header"><span class="response-time">Response Time (ms)</span></th>
                                      </tr>
                                      <tr>
                                          <th id="col-2" class="header sortable"><span>Total</span></th>
                                          <th id="col-3" class="header sortable"><span>OK</span></th>
                                          <th id="col-4" class="header sortable"><span>KO</span></th>
                                          <th id="col-5" class="header sortable"><span>% KO</span></th>
                                          <th id="col-6" class="header sortable"><span><abbr title="Count of events per second">Cnt/s</abbr></span></th>
                                          <th id="col-7" class="header sortable"><span>Min</span></th>
<th id="col-8" class="header sortable"><span>50th pct</span></th>
<th id="col-9" class="header sortable"><span>75th pct</span></th>
<th id="col-10" class="header sortable"><span>95th pct</span></th>
<th id="col-11" class="header sortable"><span>99th pct</span></th>
<th id="col-12" class="header sortable"><span>Max</span></th>
<th id="col-13" class="header sortable"><span>Mean</span></th>
<th id="col-14" class="header sortable"><span><abbr title="Standard Deviation">Std Dev</abbr></span></th>
                                      </tr>
                                  </thead>
                                  <tbody></tbody>
                              </table>
                              <table id="container_statistics_body" class="statistics-in extensible-geant">
                                  <tbody></tbody>
                              </table>
                            </div>
                        </div>
                      </div>
<dialog id="statistics_table_modal" class="statistics-table-modal">
  <div class="statistics-table-modal-header"><button class="button-modal" onclick="closeStatisticsTableModal()">x</button></div>
  <div class="statistics-table-modal-container">
    <div id="statistics_table_modal_content" class="statistics-table-modal-content"></div>
  </div>
</dialog>
<script>
function openStatisticsTableModal () {
  const statsTable = document.getElementById("stats");
  const statsTableModal = document.getElementById("statistics_table_modal");
  const fullScreenButton = document.getElementById("statistics_full_screen");

  fullScreenButton.disabled = true;

  if (typeof statsTableModal.showModal === "function") {
    const statsTableModalContent = document.getElementById("statistics_table_modal_content");

    statsTableModalContent.innerHTML = "";
    statsTableModalContent.appendChild(statsTable);
    statsTableModal.showModal();

    statsTableModal.addEventListener("close", function () {
      const container = document.getElementById("statistics_table_container");

      container.appendChild(statsTable);
      fullScreenButton.disabled = false;
    });
  } else {
    const incompatibleBrowserVersionMessage = document.createElement("div");

    incompatibleBrowserVersionMessage.innerText = "Sorry, the <dialog> API is not supported by this browser.";
    statsTable.insertBefore(incompatibleBrowserVersionMessage, statsTable.children[0]);
  }
}

function closeStatisticsTableModal () {
  const statsTableModal = document.getElementById("statistics_table_modal");

  statsTableModal.close();
}
</script>
<div class="statistics extensible-geant collapsed">
    <div class="title">
        Errors
    </div>
    <table id="container_errors" class="statistics-in extensible-geant">
        <thead>
            <tr>
                <th id="error-col-1" class="header sortable"><span>Error</span></th>
                <th id="error-col-2" class="header sortable"><span>Count</span></th>
                <th id="error-col-3" class="header sortable"><span>Percentage</span></th>
            </tr>
        </thead>
		<tbody>
		    
		    <tr>
		    	<td class="error-col-1 total ko">status.find.in(201,422,400), but actually found 502<span class="value" style="display:none">0</span></td>
		    	<td class="value error-col-2 total ko">53634</td>
		    	<td class="value error-col-3 total ko">78.776 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">status.find.in([200, 209], 304), found 502<span class="value" style="display:none">1</span></td>
		    	<td class="value error-col-2 total ko">9307</td>
		    	<td class="value error-col-3 total ko">13.67 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">status.find.is(400), but actually found 502<span class="value" style="display:none">2</span></td>
		    	<td class="value error-col-2 total ko">3982</td>
		    	<td class="value error-col-3 total ko">5.849 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">status.find.in(201,422,400), but actually found 500<span class="value" style="display:none">3</span></td>
		    	<td class="value error-col-2 total ko">877</td>
		    	<td class="value error-col-3 total ko">1.288 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">status.find.in([200, 209], 304), found 500<span class="value" style="display:none">4</span></td>
		    	<td class="value error-col-2 total ko">283</td>
		    	<td class="value error-col-3 total ko">0.416 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">j.i.IOException: Premature close<span class="value" style="display:none">5</span></td>
		    	<td class="value error-col-2 total ko">1</td>
		    	<td class="value error-col-3 total ko">0.001 %</td>
		    </tr>
		</tbody>
    </table>
</div>

            <div class="schema geant">
              <div id="active_users" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimeDistributionContainer" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimepercentilesovertimeokPercentilesContainer" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="requests" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="responses" class="geant"></div>
            </div>

            </div>
          </div>
        </div>
      </div>
    </div>
</div>
<script>
    var pageStats = stats.stats;
    $(document).ready(function() {
        $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
        setDetailsLinkUrl();
        setGlobalMenu();
        setActiveMenu();
        fillStats(pageStats);
        
Highcharts.setOptions({
  global: { useUTC: false }
});

var rangesChart = new Highcharts.Chart({
  chart: {
    renderTo: 'ranges',
    marginRight: 100
  },
  credits: { enabled: false },
  legend: { enabled: false },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  xAxis: {
    categories: [
      pageStats.group1.htmlName,
      pageStats.group2.htmlName,
      pageStats.group3.htmlName,
      pageStats.group4.htmlName
    ]
  },
  yAxis: {
    title: { text: 'Number of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      var s;
      if (this.point.name) { // the pie chart
        s = ''+ this.point.name +': '+ this.y +'% requests';
      } else {
        s = ''+ this.y + ' requests';
      }
      return s;
    }
  },
  plotOptions: {
    series: {
      stacking: 'normal',
      shadow: true
    }
  },
  series: [
    {
      type: 'column',
      data: [{
      	color: '#68b65c',
      	y: pageStats.group1.count
      },
      {
      	color: '#FFDD00',
      	y: pageStats.group2.count
      },
      {
      	color: '#FFA900',
      	y: pageStats.group3.count
      },
      {
      	color: '#f15b4f',
      	y: pageStats.group4.count
      }]
    },
    {
      type: 'pie',
      name: 'Percentages',
      data: [
        {
          name: pageStats.group1.name,
          y: pageStats.group1.percentage,
          color: '#68b65c'
        },
        {
          name: pageStats.group2.name,
          y: pageStats.group2.percentage,
          color: '#FFDD00'
        },
        {
          name: pageStats.group3.name,
          y: pageStats.group3.percentage,
          color: '#FFA900'
        },
        {
          name: pageStats.group4.name,
          y: pageStats.group4.percentage,
          color: '#f15b4f'
        }
      ],
      center: [345, 0],
      size: 90,
      showInLegend: false,
      dataLabels: { enabled: false }
    }
  ]
});

rangesChart.setTitle({
  text: '<span class="chart_title">Response Time Ranges</span>',
  useHTML: true
});

function numberOfRequestsDataForGroup(group) {
  var data = {names: [], oks: [], kos: []};

  $.each(group.contents, function(contentName, content) {
    if (content.type == 'GROUP') {
      var result = numberOfRequestsDataForGroup(content);
      data.names = data.names.concat(result.names);
      data.oks = data.oks.concat(result.oks);
      data.kos = data.kos.concat(result.kos);
    }
    else if (content.type == 'REQUEST') {
      data.names.push(content.path);
      data.oks.push(parseInt(content.stats.numberOfRequests.ok));
      data.kos.push(parseInt(content.stats.numberOfRequests.ko));
    }
  });

  return data;
}

var numberOfRequestsData = numberOfRequestsDataForGroup(stats);
var tickInterval = Math.ceil(numberOfRequestsData.names.length / 1000);

new Highcharts.Chart({
  chart: {
    renderTo:'container_number_of_requests',
    polar:true,
    type:'column',
    height:330
  },
  credits:{
    enabled:false
  },
  title:{
    text:'<span class="chart_title">Number of requests</span>',
    useHTML: true,
    widthAdjust:-20
  },
  xAxis:{
    tickmarkPlacement:'on',
    tickInterval: tickInterval,
    categories:numberOfRequestsData.names,
    labels:{ enabled:false }
  },
  yAxis:{
    min:0,
    reversedStacks: false
  },
  plotOptions:{
    series:{
      stacking:'normal',
      groupPadding:0,
      pointPlacement:'on',
      shadow: true
    }
  },
  legend: {
      borderWidth: 0,
      itemStyle: { fontWeight: "normal" },
      symbolRadius: 0
  },
  series:[
      {
      name:'OK',
      data:numberOfRequestsData.oks,
      color:"#68b65c"
    },
    {
      name:'KO',
      data:numberOfRequestsData.kos,
      color:"#f15b4f"
    }
  ]
});

	    $('#container_exceptions').sortable('#container_exceptions');
    

function generateHtmlRow(request, level, index, parent, group) {
    if (request.name == 'All Requests')
        var url = 'index.html';
    else
        var url = request.pathFormatted + '.html';

    if (group)
        var expandButtonStyle = '';
    else
        var expandButtonStyle = ' hidden';

    if (request.stats.numberOfRequests.total != 0)
        var koPercent = (request.stats.numberOfRequests.ko * 100 / request.stats.numberOfRequests.total).toFixed(0) + '%';
    else
        var koPercent = '-'

    return '<tr id="' + request.pathFormatted + '" data-parent=' + parent + '> \
        <td class="total col-1"> \
          <div class="expandable-container"> \
            <span id="' + request.pathFormatted + '" style="margin-left: ' + (level * 10) + 'px;" class="expand-button' + expandButtonStyle + '">&nbsp;</span> \
            <a href="' + url +'" class="withTooltip">' + ellipsedLabel({ name: request.name, parentClass: "table-cell-tooltip" }) + '</a><span class="value" style="display:none;">' + index + '</span> \
          </div> \
        </td> \
        <td class="value total col-2">' + request.stats.numberOfRequests.total + '</td> \
        <td class="value ok col-3">' + request.stats.numberOfRequests.ok + '</td> \
        <td class="value ko col-4">' + request.stats.numberOfRequests.ko + '</td> \
        <td class="value ko col-5">' + koPercent + '</td> \
        <td class="value total col-6">' + request.stats.meanNumberOfRequestsPerSecond.total + '</td> \
        <td class="value total col-7">' + request.stats.minResponseTime.total + '</td> \
        <td class="value total col-8">' + request.stats.percentiles1.total + '</td> \
        <td class="value total col-9">' + request.stats.percentiles2.total + '</td> \
        <td class="value total col-10">' + request.stats.percentiles3.total + '</td> \
        <td class="value total col-11">' + request.stats.percentiles4.total + '</td> \
        <td class="value total col-12">' + request.stats.maxResponseTime.total + '</td> \
        <td class="value total col-13">' + request.stats.meanResponseTime.total + '</td> \
        <td class="value total col-14">' + request.stats.standardDeviation.total + '</td> \
        </tr>';
}

function generateHtmlRowsForGroup(group, level, index, parent) {
    var buffer = '';

    if (!parent)
        parent = 'ROOT';
    else {
        buffer += generateHtmlRow(group, level - 1, index, parent, true);
        index++;
        parent = group.pathFormatted;
    }

    $.each(group.contents, function(contentName, content) {
        if (content.type == 'GROUP') {
            var result = generateHtmlRowsForGroup(content, level + 1, index, parent);
            buffer += result.html;
            index = result.index;
        }
        else if (content.type == 'REQUEST') {
            buffer += generateHtmlRow(content, level, index, parent);
            index++;
        }
    });

    return { html: buffer, index: index };
}

$('#container_statistics_head tbody').append(generateHtmlRow(stats, 0, 0));

var lines = generateHtmlRowsForGroup(stats, 0, 0);
$('#container_statistics_body tbody').append(lines.html);

$('#container_statistics_head').sortable('#container_statistics_body');
$('.statistics').expandable();

if (lines.index < 30) {
    $('#statistics_title span').attr('style', 'display: none;');
} else {
    $('#statistics_title').addClass('title_collapsed');
    $('#statistics_title').click(function() {
        $('#toggle-stats').toggleClass("off");
        $(this).toggleClass('title_collapsed').toggleClass('title_expanded');
        $('#container_statistics_body').parent().toggleClass('scrollable').toggleClass('');
    });
}
$('.table-cell-tooltip').popover({trigger:'hover'});

	    $('#container_errors').sortable('#container_errors');
    
allUsersData.yAxis = 0;

var allUsersChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'active_users',
    zoomType: 'x'
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    align: 'right',
    verticalAlign: 'top',
    layout: 'vertical',
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis: {
    title: { text: 'Number of Active Users' },
    opposite: false,
    min: 0
  },
  series: [
    {
color: '#5E7BE2',
name: 'Busca Inválida de Pessoas',
data: [
  [1692818971000,3],[1692818972000,2],[1692818973000,2],[1692818974000,2],[1692818975000,2],[1692818976000,2],[1692818977000,2],[1692818978000,2],[1692818979000,2],[1692818980000,2],[1692818981000,2],[1692818982000,2],[1692818983000,2],[1692818984000,2],[1692818985000,2],[1692818986000,2],[1692818987000,2],[1692818988000,2],[1692818989000,2],[1692818990000,2],[1692818991000,2],[1692818992000,2],[1692818993000,2],[1692818994000,2],[1692818995000,2],[1692818996000,6],[1692818997000,6],[1692818998000,6],[1692818999000,7],[1692819000000,7],[1692819001000,7],[1692819002000,8],[1692819003000,8],[1692819004000,7],[1692819005000,8],[1692819006000,9],[1692819007000,8],[1692819008000,9],[1692819009000,9],[1692819010000,9],[1692819011000,9],[1692819012000,10],[1692819013000,9],[1692819014000,11],[1692819015000,9],[1692819016000,11],[1692819017000,10],[1692819018000,10],[1692819019000,11],[1692819020000,11],[1692819021000,10],[1692819022000,11],[1692819023000,12],[1692819024000,11],[1692819025000,12],[1692819026000,11],[1692819027000,12],[1692819028000,12],[1692819029000,13],[1692819030000,12],[1692819031000,13],[1692819032000,13],[1692819033000,13],[1692819034000,13],[1692819035000,14],[1692819036000,13],[1692819037000,14],[1692819038000,14],[1692819039000,14],[1692819040000,16],[1692819041000,15],[1692819042000,16],[1692819043000,16],[1692819044000,16],[1692819045000,17],[1692819046000,16],[1692819047000,17],[1692819048000,17],[1692819049000,17],[1692819050000,17],[1692819051000,18],[1692819052000,17],[1692819053000,18],[1692819054000,18],[1692819055000,19],[1692819056000,18],[1692819057000,19],[1692819058000,18],[1692819059000,19],[1692819060000,20],[1692819061000,19],[1692819062000,19],[1692819063000,20],[1692819064000,20],[1692819065000,20],[1692819066000,21],[1692819067000,20],[1692819068000,21],[1692819069000,21],[1692819070000,21],[1692819071000,21],[1692819072000,21],[1692819073000,22],[1692819074000,22],[1692819075000,21],[1692819076000,21],[1692819077000,22],[1692819078000,21],[1692819079000,22],[1692819080000,24],[1692819081000,22],[1692819082000,23],[1692819083000,23],[1692819084000,24],[1692819085000,24],[1692819086000,24],[1692819087000,23],[1692819088000,24],[1692819089000,24],[1692819090000,25],[1692819091000,24],[1692819092000,25],[1692819093000,25],[1692819094000,25],[1692819095000,25],[1692819096000,26],[1692819097000,27],[1692819098000,26],[1692819099000,26],[1692819100000,27],[1692819101000,28],[1692819102000,27],[1692819103000,27],[1692819104000,28],[1692819105000,29],[1692819106000,28],[1692819107000,31],[1692819108000,27],[1692819109000,33],[1692819110000,29],[1692819111000,43],[1692819112000,31],[1692819113000,30],[1692819114000,28],[1692819115000,41],[1692819116000,29],[1692819117000,30],[1692819118000,29],[1692819119000,32],[1692819120000,29],[1692819121000,32],[1692819122000,30],[1692819123000,47],[1692819124000,39],[1692819125000,49],[1692819126000,33],[1692819127000,48],[1692819128000,35],[1692819129000,40],[1692819130000,34],[1692819131000,34],[1692819132000,33],[1692819133000,40],[1692819134000,36],[1692819135000,41],[1692819136000,39],[1692819137000,40],[1692819138000,43],[1692819139000,44],[1692819140000,73],[1692819141000,60],[1692819142000,81],[1692819143000,85],[1692819144000,106],[1692819145000,106],[1692819146000,114],[1692819147000,149],[1692819148000,141],[1692819149000,163],[1692819150000,126],[1692819151000,132],[1692819152000,131],[1692819153000,130],[1692819154000,137],[1692819155000,115],[1692819156000,86],[1692819157000,106],[1692819158000,96],[1692819159000,94],[1692819160000,67],[1692819161000,58],[1692819162000,69],[1692819163000,71],[1692819164000,62],[1692819165000,44],[1692819166000,56],[1692819167000,66],[1692819168000,66],[1692819169000,60],[1692819170000,69],[1692819171000,70],[1692819172000,90],[1692819173000,74],[1692819174000,86],[1692819175000,98],[1692819176000,29]
],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }},
{
color: '#68b65c',
name: 'Busca Válida de Pessoas',
data: [
  [1692818971000,3],[1692818972000,2],[1692818973000,2],[1692818974000,2],[1692818975000,2],[1692818976000,2],[1692818977000,2],[1692818978000,2],[1692818979000,2],[1692818980000,2],[1692818981000,2],[1692818982000,2],[1692818983000,4],[1692818984000,6],[1692818985000,5],[1692818986000,4],[1692818987000,4],[1692818988000,6],[1692818989000,4],[1692818990000,5],[1692818991000,5],[1692818992000,4],[1692818993000,5],[1692818994000,4],[1692818995000,4],[1692818996000,9],[1692818997000,13],[1692818998000,12],[1692818999000,15],[1692819000000,15],[1692819001000,17],[1692819002000,20],[1692819003000,19],[1692819004000,23],[1692819005000,21],[1692819006000,26],[1692819007000,22],[1692819008000,29],[1692819009000,24],[1692819010000,29],[1692819011000,27],[1692819012000,31],[1692819013000,30],[1692819014000,31],[1692819015000,30],[1692819016000,34],[1692819017000,36],[1692819018000,38],[1692819019000,18],[1692819020000,19],[1692819021000,19],[1692819022000,20],[1692819023000,20],[1692819024000,21],[1692819025000,22],[1692819026000,22],[1692819027000,24],[1692819028000,24],[1692819029000,25],[1692819030000,25],[1692819031000,26],[1692819032000,26],[1692819033000,27],[1692819034000,27],[1692819035000,27],[1692819036000,29],[1692819037000,29],[1692819038000,29],[1692819039000,30],[1692819040000,32],[1692819041000,35],[1692819042000,35],[1692819043000,36],[1692819044000,36],[1692819045000,37],[1692819046000,38],[1692819047000,38],[1692819048000,38],[1692819049000,39],[1692819050000,39],[1692819051000,41],[1692819052000,43],[1692819053000,43],[1692819054000,43],[1692819055000,45],[1692819056000,44],[1692819057000,45],[1692819058000,46],[1692819059000,46],[1692819060000,45],[1692819061000,46],[1692819062000,47],[1692819063000,47],[1692819064000,46],[1692819065000,46],[1692819066000,48],[1692819067000,46],[1692819068000,47],[1692819069000,47],[1692819070000,49],[1692819071000,49],[1692819072000,49],[1692819073000,49],[1692819074000,50],[1692819075000,50],[1692819076000,48],[1692819077000,48],[1692819078000,49],[1692819079000,50],[1692819080000,53],[1692819081000,51],[1692819082000,52],[1692819083000,52],[1692819084000,53],[1692819085000,54],[1692819086000,56],[1692819087000,56],[1692819088000,56],[1692819089000,55],[1692819090000,57],[1692819091000,56],[1692819092000,56],[1692819093000,57],[1692819094000,58],[1692819095000,58],[1692819096000,59],[1692819097000,63],[1692819098000,61],[1692819099000,60],[1692819100000,65],[1692819101000,67],[1692819102000,63],[1692819103000,63],[1692819104000,63],[1692819105000,67],[1692819106000,64],[1692819107000,67],[1692819108000,65],[1692819109000,77],[1692819110000,66],[1692819111000,106],[1692819112000,72],[1692819113000,71],[1692819114000,71],[1692819115000,104],[1692819116000,70],[1692819117000,72],[1692819118000,70],[1692819119000,75],[1692819120000,71],[1692819121000,75],[1692819122000,72],[1692819123000,112],[1692819124000,96],[1692819125000,121],[1692819126000,82],[1692819127000,110],[1692819128000,84],[1692819129000,100],[1692819130000,80],[1692819131000,85],[1692819132000,80],[1692819133000,92],[1692819134000,90],[1692819135000,99],[1692819136000,109],[1692819137000,100],[1692819138000,106],[1692819139000,111],[1692819140000,178],[1692819141000,158],[1692819142000,204],[1692819143000,206],[1692819144000,262],[1692819145000,256],[1692819146000,281],[1692819147000,365],[1692819148000,350],[1692819149000,397],[1692819150000,314],[1692819151000,308],[1692819152000,320],[1692819153000,320],[1692819154000,337],[1692819155000,284],[1692819156000,219],[1692819157000,258],[1692819158000,236],[1692819159000,234],[1692819160000,168],[1692819161000,152],[1692819162000,169],[1692819163000,173],[1692819164000,154],[1692819165000,110],[1692819166000,145],[1692819167000,164],[1692819168000,159],[1692819169000,145],[1692819170000,170],[1692819171000,162],[1692819172000,222],[1692819173000,178],[1692819174000,219],[1692819175000,249],[1692819176000,80]
],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }},
{
color: '#f15b4f',
name: 'Criação E Talvez Consulta de Pessoas',
data: [
  [1692818971000,3],[1692818972000,2],[1692818973000,3],[1692818974000,2],[1692818975000,2],[1692818976000,2],[1692818977000,2],[1692818978000,2],[1692818979000,2],[1692818980000,1],[1692818981000,3],[1692818982000,8],[1692818983000,11],[1692818984000,9],[1692818985000,8],[1692818986000,18],[1692818987000,18],[1692818988000,18],[1692818989000,11],[1692818990000,10],[1692818991000,8],[1692818992000,7],[1692818993000,12],[1692818994000,11],[1692818995000,9],[1692818996000,12],[1692818997000,19],[1692818998000,25],[1692818999000,30],[1692819000000,40],[1692819001000,44],[1692819002000,50],[1692819003000,53],[1692819004000,61],[1692819005000,70],[1692819006000,82],[1692819007000,79],[1692819008000,86],[1692819009000,93],[1692819010000,111],[1692819011000,108],[1692819012000,113],[1692819013000,113],[1692819014000,123],[1692819015000,129],[1692819016000,148],[1692819017000,137],[1692819018000,151],[1692819019000,85],[1692819020000,87],[1692819021000,92],[1692819022000,96],[1692819023000,99],[1692819024000,102],[1692819025000,106],[1692819026000,108],[1692819027000,112],[1692819028000,114],[1692819029000,122],[1692819030000,130],[1692819031000,131],[1692819032000,134],[1692819033000,138],[1692819034000,143],[1692819035000,146],[1692819036000,148],[1692819037000,153],[1692819038000,155],[1692819039000,159],[1692819040000,164],[1692819041000,169],[1692819042000,173],[1692819043000,176],[1692819044000,179],[1692819045000,183],[1692819046000,185],[1692819047000,190],[1692819048000,193],[1692819049000,196],[1692819050000,199],[1692819051000,205],[1692819052000,211],[1692819053000,215],[1692819054000,218],[1692819055000,221],[1692819056000,224],[1692819057000,231],[1692819058000,231],[1692819059000,237],[1692819060000,234],[1692819061000,240],[1692819062000,249],[1692819063000,249],[1692819064000,248],[1692819065000,245],[1692819066000,254],[1692819067000,248],[1692819068000,253],[1692819069000,256],[1692819070000,260],[1692819071000,261],[1692819072000,265],[1692819073000,269],[1692819074000,273],[1692819075000,277],[1692819076000,276],[1692819077000,279],[1692819078000,283],[1692819079000,287],[1692819080000,307],[1692819081000,295],[1692819082000,300],[1692819083000,298],[1692819084000,305],[1692819085000,311],[1692819086000,317],[1692819087000,319],[1692819088000,323],[1692819089000,320],[1692819090000,333],[1692819091000,326],[1692819092000,331],[1692819093000,334],[1692819094000,342],[1692819095000,339],[1692819096000,344],[1692819097000,368],[1692819098000,355],[1692819099000,358],[1692819100000,386],[1692819101000,401],[1692819102000,376],[1692819103000,373],[1692819104000,375],[1692819105000,408],[1692819106000,377],[1692819107000,410],[1692819108000,383],[1692819109000,449],[1692819110000,393],[1692819111000,606],[1692819112000,410],[1692819113000,414],[1692819114000,411],[1692819115000,591],[1692819116000,422],[1692819117000,423],[1692819118000,417],[1692819119000,444],[1692819120000,422],[1692819121000,442],[1692819122000,428],[1692819123000,646],[1692819124000,565],[1692819125000,718],[1692819126000,486],[1692819127000,653],[1692819128000,490],[1692819129000,597],[1692819130000,476],[1692819131000,508],[1692819132000,474],[1692819133000,545],[1692819134000,532],[1692819135000,587],[1692819136000,627],[1692819137000,600],[1692819138000,621],[1692819139000,655],[1692819140000,1058],[1692819141000,893],[1692819142000,1181],[1692819143000,1226],[1692819144000,1548],[1692819145000,1542],[1692819146000,1686],[1692819147000,2173],[1692819148000,2095],[1692819149000,2374],[1692819150000,1896],[1692819151000,1859],[1692819152000,1931],[1692819153000,1927],[1692819154000,2081],[1692819155000,1677],[1692819156000,1275],[1692819157000,1536],[1692819158000,1404],[1692819159000,1375],[1692819160000,1015],[1692819161000,929],[1692819162000,1020],[1692819163000,1030],[1692819164000,920],[1692819165000,691],[1692819166000,889],[1692819167000,1018],[1692819168000,969],[1692819169000,879],[1692819170000,1019],[1692819171000,1005],[1692819172000,1350],[1692819173000,1117],[1692819174000,1302],[1692819175000,1493],[1692819176000,460]
],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }},

    allUsersData
  ]
});


allUsersChart.setTitle({
  text: '<span class="chart_title">Active Users along the Simulation</span>',
  useHTML: true
});

allUsersData.yAxis = 1;

var responsetimeDistributionChart = new Highcharts.Chart({
  chart: {
    renderTo: 'responsetimeDistributionContainer',
    type: 'column',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: 5,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  xAxis: {
    categories: ['173', '518', '864', '1210', '1555', '1901', '2246', '2592', '2938', '3283', '3629', '3974', '4320', '4666', '5011', '5357', '5702', '6048', '6394', '6739', '7085', '7430', '7776', '8122', '8467', '8813', '9158', '9504', '9850', '10195', '10541', '10886', '11232', '11578', '11923', '12269', '12614', '12960', '13306', '13651', '13997', '14342', '14688', '15034', '15379', '15725', '16070', '16416', '16762', '17107', '17453', '17798', '18144', '18490', '18835', '19181', '19526', '19872', '20218', '20563', '20909', '21254', '21600', '21946', '22291', '22637', '22982', '23328', '23674', '24019', '24365', '24710', '25056', '25402', '25747', '26093', '26438', '26784', '27130', '27475', '27821', '28166', '28512', '28858', '29203', '29549', '29894', '30240', '30586', '30931', '31277', '31622', '31968', '32314', '32659', '33005', '33350', '33696', '34042', '34387'],
    tickInterval: 20
  },
  yAxis: {
    min: 0,
    title: { text: 'Percentage of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      return '<b>'+ this.x +' ms</b><br/>'+
      this.series.name +': '+ this.y +' %<br/>'+
      'Total: '+ this.point.stackTotal + ' %';
    }
  },
  plotOptions: {
    series: {
      groupPadding: 0,
      stacking: 'normal',
	    shadow: true
    }
  },
  series: [
  	{
type: 'column',
color: '#68b65c',
name: 'OK',
data: [
  0.49,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
},
  	{
type: 'column',
color: '#f15b4f',
name: 'KO',
data: [
  56.76,11.82,8.74,5.35,3.99,3.63,2.62,1.9,1.64,1.63,0.88,0.36,0.06,0.0,0.01,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.02
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
}
  ]
});

responsetimeDistributionChart.setTitle({
  text: '<span class="chart_title">Response Time Distribution</span>',
  useHTML: true
});

var responsetimepercentilesovertimeokPercentiles = unpack([[1692818971,null],[1692818972,null],[1692818973,null],[1692818974,null],[1692818975,null],[1692818976,null],[1692818977,null],[1692818978,null],[1692818979,null],[1692818980,null],[1692818981,null],[1692818982,[4,5,7,8,8,9,9,9,9,10]],[1692818983,[4,4,4,4,4,5,5,5,5,6]],[1692818984,[4,4,4,5,5,5,5,5,5,6]],[1692818985,[5,6,7,8,8,8,8,8,8,9]],[1692818986,[3,4,5,5,5,5,5,5,5,5]],[1692818987,[5,5,6,8,8,8,9,9,9,10]],[1692818988,[4,4,5,5,5,5,5,5,5,6]],[1692818989,[3,3,3,3,3,3,3,3,3,4]],[1692818990,[4,4,4,4,4,4,4,4,4,4]],[1692818991,[3,3,3,3,3,3,3,3,3,4]],[1692818992,[4,4,4,4,4,4,4,4,4,4]],[1692818993,[3,3,3,3,3,3,3,3,3,4]],[1692818994,[3,3,4,6,6,6,7,7,7,8]],[1692818995,[4,4,5,5,5,5,5,5,5,6]],[1692818996,[3,3,4,6,7,7,8,9,9,10]],[1692818997,[3,4,4,4,4,4,5,6,6,7]],[1692818998,[3,3,4,4,4,4,6,8,10,11]],[1692818999,[3,3,4,4,4,4,4,5,5,6]],[1692819000,[3,3,4,5,6,6,8,16,22,24]],[1692819001,[3,4,6,12,16,21,26,31,35,37]],[1692819002,[4,7,21,58,75,101,123,126,129,130]],[1692819003,[3,4,4,4,6,8,17,48,73,80]],[1692819004,[3,4,5,6,17,35,48,78,114,123]],[1692819005,[4,5,5,8,9,11,12,13,13,14]],[1692819006,[4,5,47,104,116,156,199,236,260,266]],[1692819007,[2,4,5,7,7,7,8,14,24,27]],[1692819008,[3,4,7,189,229,257,257,304,360,375]],[1692819009,[2,3,4,4,4,5,7,12,17,19]],[1692819010,[2,3,4,14,23,40,45,70,115,127]],[1692819011,[2,3,4,5,6,7,9,25,52,59]],[1692819012,[3,3,4,7,11,17,25,38,52,56]],[1692819013,[2,2,3,3,4,5,9,38,76,86]],[1692819014,[3,3,5,53,57,69,79,97,151,165]],[1692819015,[2,3,4,22,48,54,57,66,134,151]],[1692819016,[2,4,10,121,139,151,159,163,172,175]],[1692819017,[2,2,4,9,17,39,53,55,56,57]],[1692819018,[2,3,4,33,44,50,54,104,153,166]],[1692819019,null],[1692819020,null],[1692819021,null],[1692819022,null],[1692819023,null],[1692819024,null],[1692819025,null],[1692819026,null],[1692819027,null],[1692819028,null],[1692819029,null],[1692819030,null],[1692819031,null],[1692819032,null],[1692819033,null],[1692819034,null],[1692819035,null],[1692819036,null],[1692819037,null],[1692819038,null],[1692819039,null],[1692819040,null],[1692819041,null],[1692819042,null],[1692819043,null],[1692819044,null],[1692819045,null],[1692819046,null],[1692819047,null],[1692819048,null],[1692819049,null],[1692819050,null],[1692819051,null],[1692819052,null],[1692819053,null],[1692819054,null],[1692819055,null],[1692819056,null],[1692819057,null],[1692819058,null],[1692819059,null],[1692819060,null],[1692819061,null],[1692819062,null],[1692819063,null],[1692819064,null],[1692819065,null],[1692819066,null],[1692819067,null],[1692819068,null],[1692819069,null],[1692819070,null],[1692819071,null],[1692819072,null],[1692819073,null],[1692819074,null],[1692819075,null],[1692819076,null],[1692819077,null],[1692819078,null],[1692819079,null],[1692819080,null],[1692819081,null],[1692819082,null],[1692819083,null],[1692819084,null],[1692819085,null],[1692819086,null],[1692819087,null],[1692819088,null],[1692819089,null],[1692819090,null],[1692819091,null],[1692819092,null],[1692819093,null],[1692819094,null],[1692819095,null],[1692819096,null],[1692819097,null],[1692819098,null],[1692819099,null],[1692819100,null],[1692819101,null],[1692819102,null],[1692819103,null],[1692819104,null],[1692819105,null],[1692819106,null],[1692819107,null],[1692819108,null],[1692819109,null],[1692819110,null],[1692819111,null],[1692819112,null],[1692819113,null],[1692819114,null],[1692819115,null],[1692819116,null],[1692819117,null],[1692819118,null],[1692819119,null],[1692819120,null],[1692819121,null],[1692819122,null],[1692819123,null],[1692819124,null],[1692819125,null],[1692819126,null],[1692819127,null],[1692819128,null],[1692819129,null],[1692819130,null],[1692819131,null],[1692819132,null],[1692819133,null],[1692819134,null],[1692819135,null],[1692819136,null],[1692819137,null],[1692819138,null],[1692819139,null],[1692819140,null],[1692819141,null],[1692819142,null],[1692819143,null],[1692819144,null],[1692819145,null],[1692819146,null],[1692819147,null],[1692819148,null],[1692819149,null],[1692819150,null],[1692819151,null],[1692819152,null],[1692819153,null],[1692819154,null],[1692819155,null],[1692819156,null],[1692819157,null],[1692819158,null],[1692819159,null],[1692819160,null],[1692819161,null],[1692819162,null],[1692819163,null],[1692819164,null],[1692819165,null],[1692819166,null],[1692819167,null],[1692819168,null],[1692819169,null],[1692819170,null],[1692819171,null],[1692819172,null],[1692819173,null],[1692819174,null],[1692819175,null],[1692819176,null]]);

var responsetimepercentilesovertimeokPercentilesChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responsetimepercentilesovertimeokPercentilesContainer',
    zoomType: 'x',
    marginBottom: 60
  },
  colors: ['#c4fd90', '#7ff77f', '#6ff2ad', '#61ede6', '#58c7e0', '#4ea1d4', '#487ad9', '#3f52cc', '#7335dc', '#c73905', '#FFA900'],
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false,
    baseSeries: 9
  },
  rangeSelector: {
    rangeSelector: { align: "left" },
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#92918C',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Response Time (ms)' },
      opposite: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  plotOptions: {
    arearange: { lineWidth: 1 },
    series: {
      dataGrouping: { enabled: false }
    }
  },
  series: [
  
    
         {
pointInterval: 1000,
name: 'min',
data: responsetimepercentilesovertimeokPercentiles[0],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 10
},
         {
pointInterval: 1000,
name: '25%',
data: responsetimepercentilesovertimeokPercentiles[1],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 9
},
         {
pointInterval: 1000,
name: '50%',
data: responsetimepercentilesovertimeokPercentiles[2],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 8
},
         {
pointInterval: 1000,
name: '75%',
data: responsetimepercentilesovertimeokPercentiles[3],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 7
},
         {
pointInterval: 1000,
name: '80%',
data: responsetimepercentilesovertimeokPercentiles[4],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 6
},
         {
pointInterval: 1000,
name: '85%',
data: responsetimepercentilesovertimeokPercentiles[5],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 5
},
         {
pointInterval: 1000,
name: '90%',
data: responsetimepercentilesovertimeokPercentiles[6],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 4
},
         {
pointInterval: 1000,
name: '95%',
data: responsetimepercentilesovertimeokPercentiles[7],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 3
},
         {
pointInterval: 1000,
name: '99%',
data: responsetimepercentilesovertimeokPercentiles[8],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 2
},
         {
pointInterval: 1000,
name: 'max',
data: responsetimepercentilesovertimeokPercentiles[9],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 1
},
  allUsersData
  ]
});

responsetimepercentilesovertimeokPercentilesChart.setTitle({
  text: '<span class="chart_title chart_title_">Response Time Percentiles over Time (OK)</span>',
  useHTML: true
});

var requests = unpack([[1692818971,[6,0,6]],[1692818972,[6,0,6]],[1692818973,[6,0,6]],[1692818974,[6,0,6]],[1692818975,[6,0,6]],[1692818976,[6,0,6]],[1692818977,[6,0,6]],[1692818978,[6,0,6]],[1692818979,[6,0,6]],[1692818980,[6,0,6]],[1692818981,[4,0,4]],[1692818982,[10,2,8]],[1692818983,[10,4,6]],[1692818984,[9,4,5]],[1692818985,[7,2,5]],[1692818986,[12,3,9]],[1692818987,[16,3,13]],[1692818988,[10,2,8]],[1692818989,[9,2,7]],[1692818990,[8,3,5]],[1692818991,[10,2,8]],[1692818992,[7,2,5]],[1692818993,[9,2,7]],[1692818994,[9,3,6]],[1692818995,[9,4,5]],[1692818996,[14,4,10]],[1692818997,[21,7,14]],[1692818998,[26,7,19]],[1692818999,[30,7,23]],[1692819000,[35,10,25]],[1692819001,[38,9,29]],[1692819002,[41,10,31]],[1692819003,[47,10,37]],[1692819004,[50,14,36]],[1692819005,[55,9,46]],[1692819006,[58,15,43]],[1692819007,[62,15,47]],[1692819008,[67,13,54]],[1692819009,[70,13,57]],[1692819010,[75,15,60]],[1692819011,[77,15,62]],[1692819012,[83,15,68]],[1692819013,[86,20,66]],[1692819014,[91,17,74]],[1692819015,[94,21,73]],[1692819016,[99,21,78]],[1692819017,[102,20,82]],[1692819018,[106,12,94]],[1692819019,[110,0,110]],[1692819020,[116,0,116]],[1692819021,[118,0,118]],[1692819022,[121,0,121]],[1692819023,[127,0,127]],[1692819024,[131,0,131]],[1692819025,[135,0,135]],[1692819026,[138,0,138]],[1692819027,[142,0,142]],[1692819028,[147,0,147]],[1692819029,[151,0,151]],[1692819030,[155,0,155]],[1692819031,[158,0,158]],[1692819032,[163,0,163]],[1692819033,[167,0,167]],[1692819034,[171,0,171]],[1692819035,[174,0,174]],[1692819036,[178,0,178]],[1692819037,[182,0,182]],[1692819038,[187,0,187]],[1692819039,[190,0,190]],[1692819040,[196,0,196]],[1692819041,[198,0,198]],[1692819042,[203,0,203]],[1692819043,[206,0,206]],[1692819044,[211,0,211]],[1692819045,[215,0,215]],[1692819046,[219,0,219]],[1692819047,[222,0,222]],[1692819048,[227,0,227]],[1692819049,[231,0,231]],[1692819050,[235,0,235]],[1692819051,[239,0,239]],[1692819052,[242,0,242]],[1692819053,[247,0,247]],[1692819054,[251,0,251]],[1692819055,[255,0,255]],[1692819056,[260,0,260]],[1692819057,[261,0,261]],[1692819058,[268,0,268]],[1692819059,[270,0,270]],[1692819060,[275,0,275]],[1692819061,[278,0,278]],[1692819062,[284,0,284]],[1692819063,[287,0,287]],[1692819064,[290,0,290]],[1692819065,[296,0,296]],[1692819066,[299,0,299]],[1692819067,[303,0,303]],[1692819068,[306,0,306]],[1692819069,[311,0,311]],[1692819070,[315,0,315]],[1692819071,[320,0,320]],[1692819072,[323,0,323]],[1692819073,[327,0,327]],[1692819074,[331,0,331]],[1692819075,[336,0,336]],[1692819076,[339,0,339]],[1692819077,[342,0,342]],[1692819078,[346,0,346]],[1692819079,[352,0,352]],[1692819080,[356,0,356]],[1692819081,[358,0,358]],[1692819082,[363,0,363]],[1692819083,[368,0,368]],[1692819084,[372,0,372]],[1692819085,[375,0,375]],[1692819086,[379,0,379]],[1692819087,[383,0,383]],[1692819088,[387,0,387]],[1692819089,[391,0,391]],[1692819090,[395,0,395]],[1692819091,[400,0,400]],[1692819092,[403,0,403]],[1692819093,[407,0,407]],[1692819094,[412,0,412]],[1692819095,[415,0,415]],[1692819096,[419,0,419]],[1692819097,[423,0,423]],[1692819098,[426,0,426]],[1692819099,[433,0,433]],[1692819100,[435,0,435]],[1692819101,[436,0,436]],[1692819102,[446,0,446]],[1692819103,[448,0,448]],[1692819104,[452,0,452]],[1692819105,[455,0,455]],[1692819106,[459,0,459]],[1692819107,[463,0,463]],[1692819108,[467,0,467]],[1692819109,[472,0,472]],[1692819110,[476,0,476]],[1692819111,[478,0,478]],[1692819112,[484,0,484]],[1692819113,[488,0,488]],[1692819114,[491,0,491]],[1692819115,[496,0,496]],[1692819116,[500,0,500]],[1692819117,[503,0,503]],[1692819118,[507,0,507]],[1692819119,[513,0,513]],[1692819120,[514,0,514]],[1692819121,[521,0,521]],[1692819122,[518,0,518]],[1692819123,[532,0,532]],[1692819124,[532,0,532]],[1692819125,[535,0,535]],[1692819126,[540,0,540]],[1692819127,[542,0,542]],[1692819128,[548,0,548]],[1692819129,[553,0,553]],[1692819130,[556,0,556]],[1692819131,[559,0,559]],[1692819132,[563,0,563]],[1692819133,[568,0,568]],[1692819134,[572,0,572]],[1692819135,[568,0,568]],[1692819136,[589,0,589]],[1692819137,[582,0,582]],[1692819138,[588,0,588]],[1692819139,[592,0,592]],[1692819140,[596,0,596]],[1692819141,[599,0,599]],[1692819142,[604,0,604]],[1692819143,[609,0,609]],[1692819144,[611,0,611]],[1692819145,[617,0,617]],[1692819146,[620,0,620]],[1692819147,[623,0,623]],[1692819148,[627,0,627]],[1692819149,[632,0,632]],[1692819150,[626,0,626]],[1692819151,[651,0,651]],[1692819152,[643,0,643]],[1692819153,[648,0,648]],[1692819154,[652,0,652]],[1692819155,[656,0,656]],[1692819156,[661,0,661]],[1692819157,[663,0,663]],[1692819158,[660,0,660]],[1692819159,[680,0,680]],[1692819160,[676,0,676]],[1692819161,[681,0,681]],[1692819162,[683,0,683]],[1692819163,[687,0,687]],[1692819164,[693,0,693]],[1692819165,[696,0,696]],[1692819166,[700,0,700]],[1692819167,[704,0,704]],[1692819168,[708,0,708]],[1692819169,[712,0,712]],[1692819170,[717,0,717]],[1692819171,[721,0,721]],[1692819172,[723,0,723]],[1692819173,[727,0,727]],[1692819174,[733,0,733]],[1692819175,[737,0,737]],[1692819176,[336,0,336]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'requests',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of requests' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: requests[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData
  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of requests per second</span>',
  useHTML: true
});

var responses = unpack([[1692818971,[6,0,6]],[1692818972,[6,0,6]],[1692818973,[6,0,6]],[1692818974,[6,0,6]],[1692818975,[6,0,6]],[1692818976,[6,0,6]],[1692818977,[6,0,6]],[1692818978,[6,0,6]],[1692818979,[6,0,6]],[1692818980,[6,0,6]],[1692818981,[4,0,4]],[1692818982,[5,2,3]],[1692818983,[4,4,0]],[1692818984,[16,4,12]],[1692818985,[2,2,0]],[1692818986,[15,3,12]],[1692818987,[3,3,0]],[1692818988,[24,2,22]],[1692818989,[2,2,0]],[1692818990,[16,3,13]],[1692818991,[2,2,0]],[1692818992,[14,2,12]],[1692818993,[2,2,0]],[1692818994,[18,3,15]],[1692818995,[4,4,0]],[1692818996,[15,4,11]],[1692818997,[7,7,0]],[1692818998,[39,7,32]],[1692818999,[7,7,0]],[1692819000,[52,10,42]],[1692819001,[9,9,0]],[1692819002,[69,9,60]],[1692819003,[11,11,0]],[1692819004,[78,12,66]],[1692819005,[12,11,1]],[1692819006,[96,13,83]],[1692819007,[21,17,4]],[1692819008,[91,10,81]],[1692819009,[32,16,16]],[1692819010,[107,14,93]],[1692819011,[33,16,17]],[1692819012,[123,15,108]],[1692819013,[41,20,21]],[1692819014,[154,15,139]],[1692819015,[23,23,0]],[1692819016,[164,17,147]],[1692819017,[24,24,0]],[1692819018,[182,12,170]],[1692819019,[155,0,155]],[1692819020,[116,0,116]],[1692819021,[118,0,118]],[1692819022,[121,0,121]],[1692819023,[127,0,127]],[1692819024,[131,0,131]],[1692819025,[135,0,135]],[1692819026,[138,0,138]],[1692819027,[142,0,142]],[1692819028,[147,0,147]],[1692819029,[147,0,147]],[1692819030,[149,0,149]],[1692819031,[160,0,160]],[1692819032,[163,0,163]],[1692819033,[167,0,167]],[1692819034,[171,0,171]],[1692819035,[174,0,174]],[1692819036,[178,0,178]],[1692819037,[182,0,182]],[1692819038,[187,0,187]],[1692819039,[190,0,190]],[1692819040,[191,0,191]],[1692819041,[195,0,195]],[1692819042,[203,0,203]],[1692819043,[206,0,206]],[1692819044,[210,0,210]],[1692819045,[216,0,216]],[1692819046,[219,0,219]],[1692819047,[222,0,222]],[1692819048,[227,0,227]],[1692819049,[231,0,231]],[1692819050,[234,0,234]],[1692819051,[236,0,236]],[1692819052,[238,0,238]],[1692819053,[247,0,247]],[1692819054,[251,0,251]],[1692819055,[255,0,255]],[1692819056,[260,0,260]],[1692819057,[260,0,260]],[1692819058,[268,0,268]],[1692819059,[276,0,276]],[1692819060,[275,0,275]],[1692819061,[277,0,277]],[1692819062,[281,0,281]],[1692819063,[295,0,295]],[1692819064,[294,0,294]],[1692819065,[296,0,296]],[1692819066,[302,0,302]],[1692819067,[304,0,304]],[1692819068,[305,0,305]],[1692819069,[312,0,312]],[1692819070,[315,0,315]],[1692819071,[319,0,319]],[1692819072,[322,0,322]],[1692819073,[328,0,328]],[1692819074,[335,0,335]],[1692819075,[340,0,340]],[1692819076,[339,0,339]],[1692819077,[342,0,342]],[1692819078,[346,0,346]],[1692819079,[348,0,348]],[1692819080,[359,0,359]],[1692819081,[356,0,356]],[1692819082,[364,0,364]],[1692819083,[367,0,367]],[1692819084,[370,0,370]],[1692819085,[374,0,374]],[1692819086,[373,0,373]],[1692819087,[383,0,383]],[1692819088,[391,0,391]],[1692819089,[393,0,393]],[1692819090,[398,0,398]],[1692819091,[398,0,398]],[1692819092,[404,0,404]],[1692819093,[410,0,410]],[1692819094,[409,0,409]],[1692819095,[416,0,416]],[1692819096,[385,0,385]],[1692819097,[458,0,458]],[1692819098,[425,0,425]],[1692819099,[431,0,431]],[1692819100,[379,0,379]],[1692819101,[489,0,489]],[1692819102,[451,0,451]],[1692819103,[451,0,451]],[1692819104,[426,0,426]],[1692819105,[481,0,481]],[1692819106,[455,0,455]],[1692819107,[466,0,466]],[1692819108,[444,0,444]],[1692819109,[492,0,492]],[1692819110,[383,0,383]],[1692819111,[473,0,473]],[1692819112,[580,0,580]],[1692819113,[485,0,485]],[1692819114,[462,0,462]],[1692819115,[391,0,391]],[1692819116,[638,0,638]],[1692819117,[508,0,508]],[1692819118,[490,0,490]],[1692819119,[505,0,505]],[1692819120,[524,0,524]],[1692819121,[492,0,492]],[1692819122,[528,0,528]],[1692819123,[54,0,54]],[1692819124,[815,0,815]],[1692819125,[225,0,225]],[1692819126,[999,0,999]],[1692819127,[237,0,237]],[1692819128,[870,0,870]],[1692819129,[321,0,321]],[1692819130,[851,0,851]],[1692819131,[384,0,384]],[1692819132,[734,0,734]],[1692819133,[345,0,345]],[1692819134,[796,0,796]],[1692819135,[217,0,217]],[1692819136,[936,0,936]],[1692819137,[253,0,253]],[1692819138,[915,0,915]],[1692819139,[173,0,173]],[1692819140,[582,0,582]],[1692819141,[388,0,388]],[1692819142,[633,0,633]],[1692819143,[31,0,31]],[1692819144,[769,0,769]],[1692819145,[397,0,397]],[1692819146,[118,0,118]],[1692819147,[302,0,302]],[1692819148,[718,0,718]],[1692819149,[600,0,600]],[1692819150,[1327,0,1327]],[1692819151,[338,0,338]],[1692819152,[880,0,880]],[1692819153,[0,0,0]],[1692819154,[1470,0,1470]],[1692819155,[680,0,680]],[1692819156,[966,0,966]],[1692819157,[159,0,159]],[1692819158,[1084,0,1084]],[1692819159,[1004,0,1004]],[1692819160,[816,0,816]],[1692819161,[878,0,878]],[1692819162,[228,0,228]],[1692819163,[993,0,993]],[1692819164,[780,0,780]],[1692819165,[821,0,821]],[1692819166,[444,0,444]],[1692819167,[828,0,828]],[1692819168,[487,0,487]],[1692819169,[915,0,915]],[1692819170,[369,0,369]],[1692819171,[837,0,837]],[1692819172,[648,0,648]],[1692819173,[882,0,882]],[1692819174,[166,0,166]],[1692819175,[877,0,877]],[1692819176,[1325,0,1325]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responses',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of responses' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: responses[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
},
{
color: '#68b65c',
name: 'OK',
data: responses[1],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
{
color: '#f15b4f',
name: 'KO',
data: responses[2],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData,
{
  
type: 'pie',
name: 'Distribution',
data: [
  {name: 'OK', y: 337.0, color: '#68b65c'},{name: 'KO', y: 68084.0, color: '#f15b4f'}
],
center: [775, -40],
size: 70,
showInLegend: false,
dataLabels: { enabled: false },
dataGrouping: { enabled: false }

}

  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of responses per second</span>',
  useHTML: true
});

    });
</script>
</div>
</body>
</html>
